<template>
  <div id="app" @contextmenu.prevent>
    <!--页面返回不刷新-->
    <!-- <keep-alive>
      <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>-->
    <!-- <router-view v-if="!$route.meta.keepAlive"></router-view> -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "App"
};
</script>

<style>
#app {
  font-family: microsoft yahei;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #262630;
}
.flex {
  display: flex;
  align-items: center;
}
p,
ul {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
img {
  display: block;
}
.hidden {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
}
.hidden2 {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.hidden3 {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}
.el-loading-spinner .path {
  stroke: red !important;
}
input {
  outline: none;
  box-sizing: border-box;
}
button {
  outline: none;
}
.tip2 > img {
  width: 30rem;
  height: auto;
  margin: 0.3rem auto;
}
</style>
